package com.zl.credit.service.impl;

<<<<<<< HEAD
=======
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.zl.credit.entity.CreditInvestigation;
>>>>>>> remotes/origin/div
import com.zl.credit.entity.CreditProgress;
import com.zl.credit.service.AdminUserUpdate;
import com.zl.credit.service.CreditProgressService;
import com.zl.credit.util.UserUpdaterChain;
import org.springframework.beans.factory.annotation.Autowired;

<<<<<<< HEAD
public class AdminUserUpdateOne implements AdminUserUpdate {
=======
import java.util.HashMap;
import java.util.Map;

public class AdminUserUpdateOne extends AdminUserUpdate {
>>>>>>> remotes/origin/div

    @Autowired
    CreditProgressService creditProgressService;
    @Override
    public void update(CreditProgress creditProgress, int decision ,int power, UserUpdaterChain userUpdaterChains) {
           if (creditProgress.getRights().equals(1)&&power==1){
               System.err.println("方法一执行");

               if (decision==0){

                   System.err.println("通过");
               }
               if (decision==1){
                   System.err.println("不通过");
               }
           }else {
               userUpdaterChains.doChain(creditProgress, decision , power);
           }
    }
}
